package com.whisper.common.exception.user;

import com.whisper.common.exception.base.BaseException;

import static com.whisper.common.constant.ErrorCodeConstants.USER_EXCEPTION;

/**
 * 用户信息异常类
 * 
 * @author whisper
 */
public class UserException extends BaseException
{
    private static final long serialVersionUID = 1L;

    public UserException(String code, Object[] args)
    {
        super(USER_EXCEPTION, code, args, null);
    }

    public UserException(String code, String msg, Object[] args)
    {
        super(USER_EXCEPTION, code, args, msg);
    }
}
